/*
 * Spreed WebRTC.
 * Copyright (C) 2013-2015 struktur AG
 *
 * This file is part of Spreed WebRTC.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

// scss-lint:disable IdSelector

// Remove boostrap 3 modal scroll bar.
.modal {
  overflow-y: auto;
}

// Toastr fontawesome support.
#toast-container > .toast {
  background-image: none !important;
}

#toast-container > .toast:before {
  color: #fff;
  float: left;
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 20px;
  margin: auto .5em auto -1.5em;
  padding-right: .5em;
  position: fixed;
}

#toast-container > .toast-warning:before {
  content: '\f05a';
}

#toast-container > .toast-error:before {
  content: '\f05a';
}

#toast-container > .toast-info:before {
  content: '\f05a';
}

#toast-container > .toast-success:before {
  content: '\f05a';
}

// No shadows for toastr.
#toast-container > :hover,
#toast-container > div {
  box-shadow: none !important;
}

// Update colors for toaster.
.toast-info {
  background-color: #5bc0de;
}

// Update position of toastr close icon.
.toast-close-button {
  font-size: 1em;
  top: -.6em;
}

// No opacity for toastr.
#toast-container > div {
  filter: alpha(opacity=100);
  opacity: 1;
}
